//返回可以selectWeapon使用的枪口
params ["_type"];

private['_ret', '_muzzles'];

if(_type == "")exitWith{""};

_muzzles = getArray(configFile >> "cfgWeapons" >> _type >> "muzzles");

if (count _muzzles > 1) then
{
	_ret = (_muzzles select 0);
}
else
{
	_ret = _type;
};

_ret
